package com.enzoism.springboot.dive.tx;

import java.lang.annotation.*;

@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface MyTransaction {
    // 指定异常回滚
    Class<? extends Throwable>[] rollbackFor() default {};

}